#include "file_io.h"
#include <iostream>
#include <string>
#include <vector>
#include <ctime>

using namespace std;

int main(int argc, char** argv)
{
	string file_name("../data/motion_001.txt");
	vector< vector<double> > vec;
	
	clock_t time1 = clock();
    read_file(file_name,vec);
    clock_t time2 = clock();
    
    /*
    for(vector< vector<double> >::iterator it = vec.begin();
		it != vec.end();
		it ++)
		{
			for(vector<double>::iterator it1 = it->begin();
			it1 != it->end();
			it1 ++)
			{
				cout << *it1 << "\t";
			}
			cout << endl;
		}
	*/
	clock_t time3 = clock();
	cout << "time t1 is " << (double) (time2 - time1) / CLOCKS_PER_SEC << endl;
	cout << "time t2 is " << (double) (time3 - time2) / CLOCKS_PER_SEC << endl;
	cout << "vec size is " << sizeof(vec) << endl;
	
	return 0;
}
